package com.example.function.project.model.one;


import lombok.Data;
import org.springframework.context.annotation.Lazy;

import javax.persistence.*;
import java.io.Serializable;

/**
 * Description: <ProjectAssetsGroup vo>. <br>
 * <p>
 * generate time:2021-7-27 16:02:33
 *
 * @author hanqf
 * @version V1.0
 */
@Data
@Entity
@Table(name = "tbl_project_assets_group", schema = "csms_db")
@Lazy(value = true)
public class ProjectAssetsGroup implements Serializable {
    private static final long serialVersionUID = 1L;

    /*
     * 主键id
     */
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "project_assets_id")
    private Long id;


    /*
     * 项目id
     */
    @Column(name = "project_id_fk")
    private Long projectId;


    /*
     * 资产id
     */
    @Column(name = "assets_id_fk")
    private Long assetsId;


    /*
     * 状态：0-未分析，1-已分析
     */
    @Column(name = "status")
    private Integer status;


    /*
     * 导入需求数量
     */
    @Column(name = "import_num")
    private Integer importNum;


    /*
     * 创建人id
     */
    @Column(name = "user_id")
    private Long userId;


    /*
     * 创建时间
     */
    @Column(name = "create_time")
    private java.util.Date createTime;


}



